#ifndef DATABASEEXCEPTION_H
#define DATABASEEXCEPTION_H

#include <QException>

class DatabaseException : public QException
{
public:
    void raise() const { throw *this; }
    DatabaseException *clone() const { return new DatabaseException(*this); }
};

#endif // DATABASEEXCEPTION_H
